/*
 * @Author: Wanko
 * @Date: 2023-08-17 10:31:51
 * @LastEditors: Wanko
 * @LastEditTime: 2024-02-01 19:39:52
 * @Description: 
 */
import { createRouter, createWebHashHistory } from 'vue-router'
import home from '../views/home.vue'
import index from '../views/index.vue'
import login from '../views/login.vue'
import edit from '../views/edit.vue'

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/home',
      name: 'home',
      component: home
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/edit',
      name: 'edit',
      component: edit
    }
  ]
})

export default router
